<?php

namespace Biz\service\activity\lottery;


class LotteryActivityPrize
{

    private array $err = [];
    private static ?LotteryActivityPrize $instance = null;

    public static function getInstance($uid = 0, $did = '', $config = 0): ?LotteryActivityPrize
    {
        if (!self::$instance) {
            self::$instance = new self();
            self::$instance->uid = $uid;
            self::$instance->did = $did;
            self::$instance->config = $config;
        }
        return self::$instance;
    }

    public function error(): array
    {
        return $this->err;
    }


}